<template>
  <div>
    <div class="question">
      <div class="first">
        <h3>我猜您现在可能存在如下疑问：</h3>
        <ul class="wenTi">
          <li v-for="item of questionList" :key="item.index">{{ item }}</li>
        </ul>
        <div class="inputForm">
          <input type="text" placeholder="姓名" />
          <input type="text" placeholder="手机号码" />
          <input
            type="text"
            placeholder="您的问题或者需求"
            style="width: 400px"
          />
          <button class="submit">提交您的需求</button>
          <button class="clickAsk">点击在线查询</button>
        </div>
        <p>
          同样的问题每个人侧重点不同，很难有标准的答案；
          请认真填写表单信息或直接在线联系，我们会给您最合适的答案！
        </p>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
        questionList: [
        "你们能做什么？",
        "需要多少钱？",
        "需要多久？",
        "我需要做什么？",
        "需要提供什么资料？",
        "售后服务怎么样？",
      ],
    };
  },
};
</script>
<style lang="scss">
// question
.question {
  width: 100%;
  min-width: 1300px;
  box-sizing: border-box;
  height: 300px;
  padding: 30px 200px;
  background: url(../../assets/contact.jpg) no-repeat;
  background-size: 100% 100%;
  h3 {
    color: #fff;
    font: {
      size: 27px;
      weight: 500;
    }
    margin-bottom: 10px;
    text-align: left;
  }
  .wenTi {
    list-style: none;
    overflow: auto;
    padding-left: 0;
    margin-top: 0;
    display: flex;
    flex-direction: row;
    li {
      color: white;
      margin-right: 30px;
      height: 30px;
      line-height: 30px;
      font: {
        size: 15px;
        weight: 400;
      }
    }
  }
  .inputForm {
    display: flex;
    flex-direction: row;
    input {
      box-sizing: border-box;
      width: 170px;
      height: 40px;
      margin-right: 15px;
      padding: 5px 15px;
    }
    .submit {
      height: 40px;
      width: 150px;
      color: #0595c7;
      text-align: center;
      background: #fff;
      border-style: none;
      margin-right: 15px;
      cursor: pointer;
    }
    .clickAsk {
      @extend .submit;
      color: #fff;
      border: 1px solid #fff;
      background: transparent;
    }
  }
  p {
    color: #dddddd;
    margin-top: 5px;
    font-size: 13px;
  }
}
</style>